package com.qifeng.modules.orderInfo.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.qifeng.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "order_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "")
public class OrderInfo extends BaseEntity<Long> implements Serializable {

    private Integer userId;

    private Integer postId;

    private Integer orderStatus;

    private Integer userStatus;

    private String assess;

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Basic
    @ApiModelProperty(value = "用户id",example = "123")
    @Column(name = "user_id")
    public Integer getUserId() {
        return this.userId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    @Basic
    @ApiModelProperty(value = "兼职表id",example = "123")
    @Column(name = "post_id")
    public Integer getPostId() {
        return this.postId;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    @Basic
    @ApiModelProperty(value = "0:待审核 1:待完成 2:已结束",example = "123")
    @Column(name = "order_status")
    public Integer getOrderStatus() {
        return this.orderStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    @Basic
    @ApiModelProperty(value = "0:待审核 1:已通过 2:未通过",example = "123")
    @Column(name = "user_status")
    public Integer getUserStatus() {
        return this.userStatus;
    }

    public void setAssess(String assess) {
        this.assess = assess;
    }

    @Basic
    @ApiModelProperty(value = "求职者评价")
    @Column(name = "assess")
    public String getAssess() {
        return this.assess;
    }


}